<html>
<head><meta charset="utf-8"><title>Prevent TypeckResults error messages to be displayed · t-compiler/help · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/index.html">t-compiler/help</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Prevent.20TypeckResults.20error.20messages.20to.20be.20displayed.html">Prevent TypeckResults error messages to be displayed</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="234390140"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Prevent%20TypeckResults%20error%20messages%20to%20be%20displayed/near/234390140" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> GuillaumeGomez <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Prevent.20TypeckResults.20error.20messages.20to.20be.20displayed.html#234390140">(Apr 13 2021 at 19:55)</a>:</h4>
<p>I want to prevent <a href="https://doc.rust-lang.org/beta/nightly-rustc/rustc_middle/ty/context/struct.TypeckResults.html">TypeckResults</a> to display its error messages (because if it fails at getting one information, I simply move on). Any idea how I can do that?</p>
<p>I guess it has something to do with the <code>tainted_by_errors</code> field but no clue otherwise...</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>